package com.example.demo.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.demo.dao.SysRequestPathDao;
import com.example.demo.entity.SysRequestPath;
import com.example.demo.service.SysRequestPathService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 请求路径(SysRequestPath)表服务实现类
 *
 * @author makejava
 * @since 2020-07-03 16:56:29
 */
@Service("sysRequestPathService")
public class SysRequestPathServiceImpl extends ServiceImpl<SysRequestPathDao, SysRequestPath> implements SysRequestPathService {

    @Resource
    SysRequestPathDao sysRequestPathDao;
    @Override
    public List<SysRequestPath> getPathByUName(String username) {
        List<SysRequestPath> paths = sysRequestPathDao.getPathByName(username);
        return paths;
    }
}